package cn.tedu._07springaop.egaop2;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestCheck {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext acac = new AnnotationConfigApplicationContext("cn.tedu._07springaop");
        CartServiceImpl bean = acac.getBean(CartServiceImpl.class);
        bean.addCart("1");
    }
}
